#pragma once

#include "singleton.h"

class SceneRenderTargets : public Singleton<SceneRenderTargets>
{
public:
	SceneRenderTargets(void);
	~SceneRenderTargets(void);

	void Allocate(int mx, int my);
	void Init();
	void Release();

	void BeginBasePass();

private:
	int mBufferSizeX;
	int mBufferSizeY;
	int mFilterDownsampleFactor;
	int mFilterBufferSizeX;
	int mFilterBufferSizeY;

	MultiRenderTarget* mBaseTargets;
	
private:
	void SetBufferSize(int x, int y);
};
